package model;

/**
 * Team EBE
 * 
 * ParameterImpl.java extends element and adds no functionality besides the 
 * ability to make a string out of the ParameterImpl
 *
 */
public class ParameterImpl extends element {

	public ParameterImpl ( ){
		super( );
	}
	
	public ParameterImpl (String nameIn, String typeIn){
		super(nameIn, typeIn);
	}
	
	public String toString( ){
		return this.getName( ) + " : " + this.getType( );
	}
	
	public String xmlString( ){
		return "<parameter>\n<eName>" + this.getName() + "</eName>\n<eType>" + this.getType() + "</eType>\n</parameter>\n";
	}
}
